package com.onedec.designer.mapper;

import com.onedec.designer.entity.OnedecConstruction;
import com.onedec.designer.entity.OnedecConstructionExample;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface OnedecConstructionMapper {
    long countByExample(OnedecConstructionExample example);

    int deleteByExample(OnedecConstructionExample example);

    int deleteByPrimaryKey(Integer constructionId);

    int insert(OnedecConstruction record);

    int insertSelective(OnedecConstruction record);

    List<OnedecConstruction> selectByExample(OnedecConstructionExample example);

    OnedecConstruction selectByPrimaryKey(Integer constructionId);

    int updateByExampleSelective(@Param("record") OnedecConstruction record, @Param("example") OnedecConstructionExample example);

    int updateByExample(@Param("record") OnedecConstruction record, @Param("example") OnedecConstructionExample example);

    int updateByPrimaryKeySelective(OnedecConstruction record);

    int updateByPrimaryKey(OnedecConstruction record);

    List<Map<String, Object>> selectByMap(Map<String, Object> map);
}